<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<jsp:include page="head.htm" />
</head>
<body>

	<div id="head">
		<div style="float: left; padding: 30px;">
			<h1>CarManagementSystem</h1>
		</div>
		<div style="float: right;">
			<img src="images/rahmen.png" />
		</div>
		<div style="clear: both;"></div>
	</div>

	<div id="content">
		<h2>
			<c:out value="${title}" />
		</h2>
		<p>
			<c:out value="${message}" />
		</p>
		<table class="listing">
			<colgroup>
				<col />
				<col />
				<col />
				<col />
				<col />
			</colgroup>
			<thead>
				<tr>
					<th>Kennzeichen</th>
					<th>Auto</th>
					<th>von</th>
					<th>bis</th>
					<th>Mitarbeiter</th>
					<th>Kilometer-Route</th>
				</tr>
			</thead>
			<tbody>
				<c:forEach items="${verleihe}" var="verleih">
					<tr>
						<td><c:out value="${verleih.kennzeichen}" /></td>
						<td><c:out value="${verleih.typ}" /></td>
						<td><c:out value="${verleih.von}" /></td>
						<td><c:out value="${verleih.bis}" /></td>
						<td><c:out value="${verleih.nachname}" /></td>
						<td><c:out value="${verleih.kilometerstand}" /></td>
					</tr>
				</c:forEach>
			</tbody>
		</table>
		<br>
		<br>
		<br>
		<a href="index.html">| Home |</a> </a> <a href="j_spring_security_logout"> | Logout |</a>
	</div>
</body>
</html>
